package com.ctshk.rpc.insurance.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 保险价格成本
 * </p>
 *
 * @author wangcy
 * @since 2021-01-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_insurance_cost")
@ApiModel(value="InsuranceCost对象", description="保险价格成本")
public class InsuranceCost extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属保险")
    private Long insuranceId;

    @ApiModelProperty(value = "保障期限")
    private String termName;

    @ApiModelProperty(value = "成本价")
    private BigDecimal costAmount;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
